Package com.cisco.pt.ipc.sim.impl
Class SmtpServerImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.SmtpServerImpl
- All Implemented Interfaces:
IPCObject,Process,SmtpServer
Information provided by the PKI file:
\class SmtpServer
\brief SmtpServer handles and manipulates the SMTP service.
\example network().getDevice("Server0").getProcess("SmtpServer")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionSmtpServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetEnable(boolean bEnable) Information provided by the PKI file:voidsetServerDomainName(String name) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
SmtpServerImpl
public SmtpServerImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setEnable
public void setEnable(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables the SMTP service. \param bEnable, true to enable the SMTP service, false to disable it.- Specified by:
setEnablein interfaceSmtpServer- Parameters:
bEnable- Takes in a parameter of bEnable
-
isEnabled
public boolean isEnabled()Information provided by the PKI file:
\brief Returns true if the SMTP service is enabled, otherwise false. \param bool, true if the SMTP service is enabled, otherwise false.- Specified by:
isEnabledin interfaceSmtpServer- Returns:
- boolean Returns a boolean
-
getServerDomainName
Information provided by the PKI file:
\brief Returns the domain name of the SMTP server. \return string, the domain name of the SMTP server.- Specified by:
getServerDomainNamein interfaceSmtpServer- Returns:
- String Returns a String
-
setServerDomainName
Information provided by the PKI file:
\brief Sets the domain name for the SMTP server. \param name, the domain name for the SMTP server.- Specified by:
setServerDomainNamein interfaceSmtpServer- Parameters:
name- Takes in a parameter of name
-